<!--档案元数据信息-->
<template>
  <div class="meta-tab1">
    <el-table
      :data="meta1TableData"
      highlight-current-row
      border
      height="100%"
      :row-style="{height:'40px'}"
      :cell-style="{padding:'0px'}"
      :header-cell-style="{background: '#FAFAFA', padding: 0, height: '40px', color: '#666666'}"
      style="width: 100%">
      <el-table-column
        type="index">
      </el-table-column>
      <slot v-for="(item,index) in meta1Columns">
        <el-table-column
          :key="index"
          :property="item.field"
          :label="item.title"
          :width="item.width"
          show-overflow-tooltip
          sortable>
        </el-table-column>
      </slot>
    </el-table>
  </div>
</template>

<script>
export default {
  name: '',
  components: {
  },
  data () {
    return {
      meta1TableData: [
        { Name: '电子档案号', Value: 'YX1000·SHHQG·JJ·JG-0001' },
        { Name: '事项类型', Value: 'YX1000' },
        { Name: '事项编码', Value: 'SHHQG' },
        { Name: '事项名称', Value: 'JJ' },
        { Name: '办理对象名称', Value: '档案部' },
        { Name: '办理对象编号', Value: 'JG' },
        { Name: '申请时间', Value: '2020-08-20' },
        { Name: '受理时间', Value: '2020-08-20' },
        { Name: '保管期限', Value: '永久' },
        { Name: '文件数量', Value: '20' }
      ],
      meta1Columns: [
        {
          title: '键',
          field: 'Name'
        },
        {
          title: '键值',
          field: 'Value'
        }
      ]
    }
  },
  created () {},
  mounted () {},
  methods: {
  }
}
</script>

<style lang="less" scoped>
.meta-tab1 {
  height: 100%;
}
</style>
